package com.cate.mapper;

import java.util.HashMap;
import java.util.List;

import com.cate.bean.User;
import com.cate.util.ResultMap;

public interface UserMapper {
void addUser(User user) throws Exception;//新增用户
	
	Long getNextSeq(HashMap<String, Object> map);//查询shiro_users的序列

	User getByUsername(String username) throws Exception;//根据用户名查信息
	
	List<ResultMap<String,Object>> queryBooks(HashMap<String,Object>  wherMap);
	
	List<ResultMap<String,Object>> queryProduct(HashMap<String,Object>  wherMap);
	
	List<ResultMap<String, Object>> queryMenu(HashMap<String, Object> wherMap);
}